/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mvp.levelup.oop2;

/**
 *
 * @author WORKSPOT2
 */
public class WeaponCreator
{

    public static IWeapon createWeapon(Weapons type)
    {
        switch (type)
        {
            case BOW:
                return new Bow();
            case SWORD:
                return new Sword();
            default:
                return null;
        }
    }
}
